home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 8
/
Aminet 8 (1995)(GTI - Schatztruhe)[!][Oct 1995].iso
/
Aminet
/
util
/
cli
/
CDRun.lha
/
CDRun
/
CDRun.doc
< prev
next >
Wrap
Text File
|
1995-08-04
|
2KB
|
60 lines
CDRun 1.1 - Copyright © 1995 Oliver Roberts
Introduction
------------
This is a very simple command line command, which I decided to write
myself after finding nothing similar on Aminet. I find CDRun most
useful, especially when running programs that assume that the current
directory is the same as the location of the program (e.g. games). It
saves me having to write a script to CD to the directory and execute the
command. It is also very handy when used in conjunction with my
ButtonMenu utility.
Usage
-----
CDRun is only intended to be run from a Shell, and under Kickstart 2.0
or higher. The AmigaDOS template for CDRun is simply:
COMMAND/F
Example: CDRun Stuff:Games/SKID2/Skidmarks2
Basically, the above will change the current dir to "Stuff:Games/SKID2",
execute Skidmarks2, and when Skidmarks2 is quitted the current directory
will be restored to the original.
To run commands asynchronously prefix CDRun with the AmigaDOS Run command.
Distribution
------------
CDRun is public domain and freely distributable, mainly as it didn't take
a tremendous effort on my part (it took a few minutes to code). The source
is provided in this archive - if you use CDRun in your own code please
credit me in the docs or something :)
Author
------
I'm the same person who wrote ButtonMenu, F1GP-Ed and F1GP_LapSet. I can
be contacted at the following internet email address:
O.J.C.Roberts@essex.ac.uk
and on the World Wide Web:
http://cswww2.essex.ac.uk/users/robeoy/
History
-------
V1.1 - 4 August 1995
Compiled with resident option (should have done this the first time!).
This means the CDRun executable is now pure, and can be used with the
AmigaDOS resident command.
=========================================================================
V1.0 - 16 July 1995
First release.